package my_class.reflect;

public class Test1 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class<?> clazz1 = Class.forName("my_class.reflect.Student");
        System.out.println(clazz1);
        Class<Student> clazz2 = Student.class;
        System.out.println(clazz2);
        Student student = new Student();
        Class<? extends Student> clazz3 = student.getClass();
        System.out.println(clazz3);
        System.out.println(clazz1 == clazz2);
        System.out.println(clazz2 == clazz3);
    }
}
